from PublicReference.carry.base import *

class 职业主动技能(主动技能):
    技能施放时间 = 0.0
    脱手 = 1
    data0 = []
    data1 = []
    data2 = []
    data3 = []
    data4 = []
    data5 = []
    data6 = []

    def 等效百分比(self, 武器类型):
        等效倍率 = 0.0
        if len(self.data0) >= self.等级 and len(self.data0) > 0:
            等效倍率 += self.data0[self.等级] * self.攻击次数
        if len(self.data1) >= self.等级 and len(self.data1) > 0:
            等效倍率 += self.data1[self.等级] * self.攻击次数2
        if len(self.data2) >= self.等级 and len(self.data2) > 0:
            等效倍率 += self.data2[self.等级] * self.攻击次数3
        if len(self.data3) >= self.等级 and len(self.data3) > 0:
            等效倍率 += self.data3[self.等级] * self.攻击次数4
        if len(self.data4) >= self.等级 and len(self.data4) > 0:
            等效倍率 += self.data4[self.等级] * self.攻击次数5
        if len(self.data5) >= self.等级 and len(self.data5) > 0:
            等效倍率 += self.data5[self.等级] * self.攻击次数6
        if len(self.data6) >= self.等级 and len(self.data6) > 0:
            等效倍率 += self.data6[self.等级] * self.攻击次数7
        return 等效倍率 * (1 + self.TP成长 * self.TP等级) * self.倍率

class 技能0(被动技能):
    名称 = '疾风之棍棒精通'
    所在等级 = 15
    等级上限 = 30
    基础等级 = 20
    冷却关联技能 = ['所有']
    非冷却关联技能 = ['万象风龙阵','无限风域','风之极·永坠']

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        if self.等级 <= 20:
            return round(1.00 + 0.01 * self.等级, 5)
        else:
            return round(0.80 + 0.02 * self.等级, 5)

    def 物理攻击力倍率(self, 武器类型):
        return self.加成倍率(武器类型)

    def CD缩减倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return 0.9


class 技能1(被动技能):
    名称 = '御风之力'
    所在等级 = 48
    等级上限 = 40
    基础等级 = 20

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.025 + 0.02 * self.等级, 5)


class 技能2(被动技能):
    名称 = '风神诀'
    所在等级 = 75
    等级上限 = 40
    基础等级 = 11

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.22 + 0.02 * self.等级, 5)


class 技能3(被动技能):
    名称 = '初始之风'
    所在等级 = 95
    等级上限 = 40
    基础等级 = 4

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.18 + 0.02 * self.等级, 5)


class 技能4(被动技能):
    名称 = '风之意志'
    所在等级 = 30
    等级上限 = 15
    基础等级 = 5

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.025+0.015*self.等级, 5)


class 技能5(职业主动技能):
    名称 = '狂风冲刺'
    所在等级 = 15
    等级上限 = 60
    基础等级 = 46
    data0 = [int(x*1.0*1.085) for x in [0, 309, 341, 373, 404, 436, 466, 499, 531, 563, 593, 625, 658, 688, 720, 750, 782, 812, 845, 877, 909, 939, 972, 1004, 1035, 1066, 1097, 1130, 1161, 1192, 1224, 1256, 1285, 1318, 1350, 1381, 1412, 1443, 1476, 1508, 1538, 1570, 1603, 1633, 1665, 1697, 1728, 1760, 1790, 1822, 1854, 1884, 1916, 1949, 1980, 2011, 2043, 2075, 2106, 2138, 2169, 2201, 2231, 2264, 2296, 2326, 2357, 2388, 2421, 2453, 2484]]
    # 打满是9次，操作有点反人类，常规6次
    攻击次数 = 6
    CD = 5
    TP成长 = 0.10
    TP上限 = 5


class 技能6(职业主动技能):
    名称 = '回风斩'
    所在等级 = 15
    等级上限 = 60
    基础等级 = 46
    # hit 4
    #风击物理攻击力：<data0>%
    data0 = [int(x*1.0*1.085) for x in [0, 690, 760, 830, 900, 971, 1041, 1110, 1181, 1250, 1321, 1390, 1461, 1532, 1600, 1671, 1741, 1811, 1881, 1951, 2022, 2091, 2161, 2231, 2302, 2372, 2442, 2512, 2581, 2652, 2721, 2792, 2863, 2932, 3003, 3071, 3142, 3212, 3282, 3353, 3423, 3493, 3562, 3632, 3703, 3773, 3843, 3913, 3984, 4052, 4123, 4193, 4263, 4334, 4403, 4474, 4543, 4613, 4684, 4753, 4824, 4894, 4964, 5035, 5104, 5174, 5244, 5314, 5384, 5455, 5525]]
    攻击次数 = 4
    CD = 5.5
    TP成长 = 0.10
    TP上限 = 5


class 技能7(职业主动技能):
    名称 = '朔风牵引'
    所在等级 = 20
    等级上限 = 60
    基础等级 = 43
    #逆风物理攻击力：<data0>%
    data0 = [int(x*1.0*1.085) for x in [0, 438, 481, 528, 572, 617, 662, 707, 750, 794, 839, 884, 928, 972, 1018, 1062, 1107, 1151, 1196, 1240, 1285, 1328, 1375, 1419, 1464, 1507, 1551, 1596, 1640, 1686, 1730, 1775, 1819, 1865, 1909, 1953, 1997, 2043, 2087, 2130, 2176, 2221, 2266, 2309, 2353, 2398, 2443, 2487, 2531, 2577, 2621, 2666, 2710, 2755, 2799, 2844, 2889, 2934, 2978, 3023, 3068, 3110, 3155, 3199, 3245, 3289, 3334, 3378, 3424, 3468, 3512]]
    # 原作者做的是6hit，测试是9hit
    攻击次数 = 9
    CD = 10
    TP成长 = 0.10
    TP上限 = 5


class 技能8(职业主动技能):
    名称 = '风鸣冲击'
    所在等级 = 25
    等级上限 = 60
    基础等级 = 41
    #爆炸物理攻击力：<data0>%
    data0 = [int(x*1.0*1.085) for x in [0, 5232, 5765, 6294, 6826, 7357, 7886, 8417, 8949, 9480, 10011, 10541, 11073, 11603, 12135, 12666, 13196, 13727, 14258, 14789, 15319, 15851, 16381, 16913, 17444, 17973, 18504, 19036, 19567, 20097, 20628, 21160, 21690, 22222, 22752, 23283, 23814, 24346, 24875, 25408, 25938, 26469, 27000, 27532, 28060, 28592, 29123, 29654, 30184, 30715, 31247, 31777, 32309, 32839, 33370, 33901, 34433, 34962, 35494, 36025, 36556]]
    CD = 8.5
    TP成长 = 0.10
    TP上限 = 5


class 技能9(职业主动技能):
    名称 = '游离之风'
    所在等级 = 25
    等级上限 = 60
    基础等级 = 41
    #旋风物理攻击力：<data0>%
    data0 = [int(x*1.0*1.085) for x in [0, 967, 1065, 1163, 1261, 1359, 1457, 1555, 1655, 1751, 1851, 1947, 2047, 2145, 2243, 2342, 2439, 2538, 2635, 2734, 2831, 2930, 3028, 3126, 3224, 3322, 3420, 3518, 3618, 3714, 3814, 3912, 4010, 4108, 4206, 4304, 4402, 4500, 4599, 4696, 4795, 4892, 4991, 5089, 5187, 5286, 5383, 5483, 5579, 5679, 5775, 5875, 5973, 6071, 6169, 6267, 6366, 6463, 6562, 6659, 6758, 6856, 6954, 7052, 7150, 7248, 7346, 7444, 7544, 7640, 7740]]
    攻击次数 = 4
    CD = 6.7
    TP成长 = 0.10
    TP上限 = 5


class 技能10(职业主动技能):
    名称 = '双翼风刃'
    所在等级 = 30
    等级上限 = 60
    基础等级 = 38
    #旋风物理攻击力：<data0>%
    data0 = [int(x*1.0*1.085) for x in [0, 1939, 2136, 2333, 2529, 2726, 2923, 3119, 3317, 3514, 3710, 3907, 4104, 4300, 4497, 4694, 4891, 5088, 5285, 5481, 5678, 5875, 6071, 6268, 6466, 6662, 6859, 7056, 7252, 7449, 7645, 7842, 8040, 8237, 8433, 8630, 8827, 9023, 9220, 9416, 9614, 9811, 10008, 10204, 10401, 10597, 10794, 10991, 11189, 11385, 11582, 11778, 11975, 12172, 12368, 12565, 12763, 12960, 13156, 13353, 13549]]
    攻击次数 = 4
    CD = 14
    TP成长 = 0.10
    TP上限 = 5


class 技能11(职业主动技能):
    名称 = '风暴之眼'
    所在等级 = 35
    等级上限 = 60
    基础等级 = 36
    #风暴物理攻击力：<data0>%
    data0 = [int(x*1.0*1.085) for x in [0, 7911, 8711, 9516, 10318, 11121, 11923, 12725, 13528, 14330, 15132, 15936, 16738, 17541, 18343, 19145, 19948, 20750, 21553, 22356, 23157, 23962, 24762, 25567, 26368, 27171, 27973, 28776, 29578, 30381, 31182, 31987, 32787, 33592, 34393, 35196, 35998, 36801, 37604, 38406, 39210, 40012, 40815, 41616, 42420, 43221, 44025, 44826, 45629, 46431, 47234, 48037, 48840, 49641, 50445, 51246, 52050, 52851, 53654, 54457, 55259]]
    CD = 16
    TP成长 = 0.10
    TP上限 = 5
    是否有护石 = 1

    护石选项 = ['魔界', '圣痕']

    def 装备护石(self, x):
        if x == 0:
            self.倍率 *= 1.28
            self.CD *= 0.90
        elif x == 1:
            self.倍率 *= 1.28 + 0.09
            self.CD *= 0.90


class 技能12(职业主动技能):
    名称 = '刃风'
    所在等级 = 35
    等级上限 = 60
    基础等级 = 36
    #第1击攻击力：<data0>%
    data0 = [int(x*1.0*1.085) for x in [0, 1889, 2081, 2273, 2464, 2656, 2848, 3039, 3231, 3423, 3614, 3807, 3999, 4190, 4382, 4574, 4765, 4957, 5149, 5340, 5532, 5723, 5915, 6107, 6298, 6490, 6683, 6873, 7066, 7258, 7449, 7641, 7833, 8024, 8216, 8408, 8599, 8791, 8983, 9174, 9366, 9559, 9750, 9942, 10134, 10325, 10517, 10708, 10900, 11092, 11283, 11475, 11667, 11858, 12050, 12243, 12433, 12626, 12818, 13009, 13201]]
    攻击次数 = 1
    #第2击攻击力：<data1>%
    data1 = [int(x*1.0*1.085) for x in [0, 2329, 2564, 2800, 3037, 3273, 3509, 3746, 3982, 4217, 4454, 4690, 4927, 5163, 5399, 5636, 5872, 6107, 6344, 6580, 6817, 7053, 7289, 7526, 7762, 7997, 8234, 8470, 8707, 8943, 9179, 9416, 9651, 9887, 10124, 10360, 10597, 10833, 11069, 11306, 11541, 11777, 12014, 12250, 12487, 12723, 12959, 13196, 13431, 13667, 13904, 14140, 14376, 14613, 14849, 15084, 15321, 15557, 15794, 16030, 16266]]
    攻击次数2 = 1
    #空中切割攻击力：<data2>%
    data2 = [int(x*1.0*1.085) for x in [0, 1163, 1282, 1399, 1518, 1636, 1755, 1872, 1990, 2109, 2226, 2345, 2463, 2581, 2699, 2817, 2935, 3053, 3172, 3289, 3408, 3526, 3643, 3762, 3880, 3999, 4116, 4235, 4353, 4471, 4589, 4707, 4825, 4943, 5062, 5179, 5298, 5416, 5533, 5652, 5770, 5889, 6006, 6125, 6243, 6360, 6479, 6597, 6715, 6833, 6952, 7069, 7187, 7306, 7423, 7542, 7660, 7779, 7896, 8014, 8133]]
    攻击次数3 = 1
    #地上切割攻击力：<data3>%
    data3 = [int(x*1.0*1.085) for x in [0, 1746, 1923, 2100, 2277, 2455, 2632, 2809, 2986, 3163, 3340, 3518, 3695, 3872, 4049, 4226, 4403, 4580, 4758, 4935, 5112, 5289, 5466, 5643, 5822, 5999, 6176, 6353, 6530, 6707, 6884, 7062, 7239, 7416, 7593, 7770, 7947, 8125, 8302, 8479, 8656, 8833, 9010, 9187, 9365, 9542, 9719, 9896, 10073, 10250, 10427, 10605, 10782, 10959, 11136, 11313, 11490, 11669, 11846, 12023, 12200]]
    攻击次数4 = 1
    #凝缩爆炸攻击力：<data4>%
    data4 = [int(x*1.0*1.085) for x in [0, 4394, 4841, 5287, 5732, 6178, 6624, 7071, 7516, 7962, 8408, 8853, 9299, 9746, 10191, 10637, 11083, 11530, 11975, 12421, 12867, 13312, 13758, 14205, 14651, 15096, 15542, 15988, 16433, 16880, 17326, 17772, 18217, 18663, 19110, 19555, 20001, 20447, 20893, 21338, 21785, 22231, 22676, 23122, 23568, 24015, 24460, 24906, 25352, 25797, 26244, 26690, 27136, 27581, 28027, 28474, 28919, 29365, 29811, 30257, 30702]]
    攻击次数5 = 1
    CD = 18
    TP成长 = 0.10
    TP上限 = 5


class 技能13(职业主动技能):
    名称 = '真空旋风破'
    所在等级 = 40
    等级上限 = 60
    基础等级 = 33
    #龙卷风物理攻击力：<data0>%
    data0 = [int(x*1.0*1.085) for x in [0, 703, 775, 847, 919, 990, 1062, 1133, 1205, 1276, 1348, 1420, 1490, 1563, 1634, 1705, 1776, 1848, 1919, 1992, 2064, 2135, 2206, 2276, 2348, 2419, 2492, 2564, 2635, 2706, 2777, 2850, 2921, 2993, 3063, 3135, 3207, 3278, 3350, 3421, 3494, 3565, 3637, 3707, 3778, 3850, 3921, 3994, 4065, 4137, 4207, 4279, 4350, 4423, 4495, 4566, 4637, 4707, 4780, 4851, 4923]]
    #爆炸物理攻击力：<data1>%
    data1 = [int(x*1.0*1.085) for x in [0, 5638, 6209, 6782, 7354, 7925, 8498, 9070, 9643, 10214, 10786, 11358, 11931, 12502, 13076, 13647, 14218, 14790, 15361, 15935, 16506, 17079, 17651, 18224, 18795, 19366, 19939, 20511, 21083, 21654, 22228, 22799, 23370, 23941, 24515, 25087, 25659, 26232, 26804, 27376, 27947, 28519, 29091, 29663, 30234, 30808, 31380, 31951, 32522, 33096, 33667, 34240, 34811, 35385, 35956, 36526, 37099, 37671, 38244, 38815, 39389]]
    攻击次数 = 8
    攻击次数2 = 1
    CD = 25
    TP成长 = 0.10
    TP上限 = 5
    是否有护石 = 1

    护石选项 = ['魔界', '圣痕']

    def 装备护石(self, x):
        if x == 0:
            self.倍率 *= 1.085
            self.CD *= 0.8
        elif x == 1:
            self.倍率 *= 1.175
            self.CD *= 0.8


class 技能14(职业主动技能):
    名称 = '风暴之拳'
    所在等级 = 45
    等级上限 = 60
    基础等级 = 31
    #重拳物理攻击力：<data0>%
    data0 = [int(x*1.0*1.085) for x in [0, 17425, 19192, 20958, 22727, 24495, 26262, 28030, 29797, 31565, 33334, 35100, 36868, 38635, 40404, 42171, 43939, 45705, 47476, 49241, 51009, 52778, 54543, 56314, 58081, 59848, 61615, 63384, 65151, 66919, 68686, 70454, 72223, 73989, 75757, 77523, 79292, 81062, 82827, 84596, 86364, 88132, 89899, 91666, 93434, 95202, 96969, 98737, 100503, 102272, 104040, 105807, 107575, 109343, 111110, 112878, 114645, 116414, 118182, 119949, 121717]]
    #风暴多段攻击力：<data1>%
    data1 = [int(x*1.0*1.085) for x in [0, 1493, 1644, 1796, 1948, 2099, 2251, 2402, 2553, 2704, 2857, 3008, 3158, 3311, 3463, 3615, 3765, 3917, 4068, 4221, 4373, 4522, 4675, 4826, 4979, 5129, 5281, 5432, 5585, 5736, 5886, 6038, 6190, 6341, 6493, 6645, 6796, 6947, 7098, 7251, 7402, 7552, 7705, 7856, 8009, 8160, 8311, 8462, 8615, 8766, 8916, 9069, 9220, 9373, 9521, 9675, 9826, 9979, 10131, 10280, 10432]]
    攻击次数 = 1
    攻击次数2 = 5
    CD = 45
    TP成长 = 0.10
    TP上限 = 5
    是否有护石 = 1

    护石选项 = ['魔界', '圣痕']  # 不确定对不对

    def 装备护石(self, x):
        if x == 0:
            self.倍率 *= 1.22
        elif x == 1:
            self.倍率 *= 1.295


class 技能15(职业主动技能):
    名称 = '万象风龙阵'
    所在等级 = 50
    等级上限 = 60
    基础等级 = 12
    #飓风物理攻击力：<data0>%
    data0 = [int(x*1.0*1.085) for x in [0, 496, 611, 726, 842, 956, 1072, 1187, 1303, 1561, 1687, 1815, 1939, 2063, 2193, 2320, 2445, 2574, 2698, 2826, 2954, 3079, 3209, 3334, 3460, 3586, 3713, 3842, 3969, 4094, 4221, 4347, 4475, 4602, 4727, 4856, 4980, 5107, 5236, 5361, 5488]]
    #飓风爆炸攻击力：<data1>%
    data1 = [int(x*1.0*1.085) for x in [0, 8940, 11015, 13089, 15163, 17235, 19309, 21383, 23456, 28083, 30366, 32643, 34926, 37206, 39487, 41769, 44052, 46330, 48611, 50893, 53175, 55455, 57736, 60018, 62298, 64578, 66861, 69140, 71422, 73702, 75984, 78266, 80545, 82826, 85107, 87388, 89667, 91949, 94231, 96511, 98793]]
    攻击次数 = 56
    攻击次数2 = 4
    CD = 145


class 技能16(职业主动技能):
    名称 = '疾风瞬影闪'
    所在等级 = 60
    等级上限 = 60
    基础等级 = 23
    #风之剑物理攻击力：<data0>%
    data0 = [int(x*1.0*1.085) for x in [0, 2586, 2849, 3111, 3375, 3636, 3897, 4161, 4423, 4687, 4948, 5211, 5474, 5735, 5998, 6260, 6524, 6786, 7048, 7310, 7573, 7836, 8097, 8360, 8622, 8886, 9148, 9409, 9672, 9935, 10198, 10460, 10721, 10986, 11247, 11509, 11772, 12034, 12296, 12559, 12821]]
    攻击次数 = 8
    CD = 30
    TP成长 = 0.10
    TP上限 = 5
    是否有护石 = 1

    护石选项 = ['魔界', '圣痕']

    def 装备护石(self, x):
        if x == 0:
            self.倍率 *= 1.18
        elif x == 1:
            self.倍率 *= 1.18 + 0.09


class 技能17(职业主动技能):
    名称 = '风卷残云'
    所在等级 = 70
    等级上限 = 40
    基础等级 = 18
    # 10+1
    #风暴物理攻击力：<data0>%
    data0 = [int(i*1.085) for i in [0, 2398, 2642, 2885, 3128, 3372, 3615, 3858, 4102, 4345, 4588, 4832, 5075, 5318, 5562, 5805, 6049, 6292, 6535, 6779, 7022, 7265, 7509, 7752, 7995, 8239, 8482, 8725, 8969, 9212, 9455, 9699, 9943, 10185, 10429, 10673, 10915, 11159, 11403, 11645, 11889]]
    #爆炸物理攻击力：<data1>%
    data1 = [int(i*1.085) for i in [0, 7995, 8806, 9618, 10429, 11240, 12052, 12863, 13674, 14485, 15296, 16107, 16918, 17730, 18541, 19352, 20164, 20975, 21785, 22596, 23408, 24219, 25030, 25842, 26653, 27464, 28275, 29086, 29897, 30708, 31520, 32331, 33142, 33954, 34765, 35575, 36387, 37198, 38009, 38820, 39632]]
    攻击次数 = 10
    攻击次数2 = 1
    CD = 50
    TP成长 = 0.10
    TP上限 = 5
    是否有护石 = 1

    护石选项 = ['魔界', '圣痕']  # 不确定是加算还是乘算

    def 装备护石(self, x):
        if x == 0:
            self.倍率 *= 1.22
        elif x == 1:
            self.倍率 *= 1.22 + 0.08


class 技能18(职业主动技能):
    名称 = '游龙惊风破'
    所在等级 = 75
    等级上限 = 40
    基础等级 = 16
    # 12+1
    #多段物理攻击力：<data0>%
    data0 = [int(x*1.0*1.085) for x in [0, 2078, 2289, 2500, 2711, 2921, 3132, 3344, 3554, 3765, 3975, 4187, 4398, 4609, 4819, 5029, 5241, 5452, 5663, 5873, 6085, 6295, 6506, 6717, 6927, 7139, 7349, 7561, 7772, 7982, 8193, 8403, 8615, 8826, 9037, 9247, 9458, 9669, 9880, 10091, 10301]]
    #爆炸物理攻击力：<data1>%
    data1 = [int(x*1.0*1.085) for x in [0, 34271, 37748, 41225, 44701, 48177, 51656, 55132, 58608, 62086, 65562, 69038, 72517, 75993, 79469, 82946, 86423, 89899, 93377, 96854, 100331, 103807, 107283, 110761, 114238, 117714, 121192, 124668, 128144, 131623, 135099, 138575, 142053, 145529, 149005, 152484, 155960, 159436, 162913, 166390, 169866]]
    攻击次数 = 12
    攻击次数2 = 1
    CD = 40
    是否有护石 = 1

    护石选项 = ['圣痕']

    def 装备护石(self, x):
        if x == 0:
            self.倍率 *= 1.26


class 技能19(职业主动技能):
    名称 = '九霄风雷'
    所在等级 = 80
    等级上限 = 40
    基础等级 = 13
    # 14+1
    # 低于100攻速且立即落地时，存在丢hit情况，hit数11-13
    # 携带CP后不存在丢hit
    #多段物理攻击力：<data0>%
    data0 = [int(x*1.0*1.085) for x in [0, 2023, 2227, 2435, 2639, 2845, 3050, 3255, 3461, 3667, 3871, 4077, 4282, 4487, 4693, 4897, 5103, 5309, 5513, 5719, 5925, 6129, 6335, 6541, 6745, 6951, 7156, 7361, 7567, 7771, 7977, 8183, 8388, 8594, 8799, 9003, 9209, 9414, 9620, 9826, 10030]]
    #爆炸物理攻击力：<data1>%
    data1 = [int(x*1.0*1.085) for x in [0, 42498, 46809, 51121, 55434, 59744, 64054, 68368, 72678, 76990, 81302, 85613, 89924, 94236, 98548, 102859, 107170, 111481, 115793, 120106, 124416, 128726, 133040, 137350, 141660, 145974, 150285, 154596, 158908, 163220, 167530, 171842, 176153, 180465, 184776, 189088, 193398, 197712, 202022, 206332, 210646]]
    攻击次数 = 14
    攻击次数2 = 1
    CD = 45
    是否有护石 = 1

    护石选项 = ['圣痕']

    def 装备护石(self, x):
        if x == 0:
            self.倍率 *= 1.27
            self.CD *= 0.89


class 技能20(职业主动技能):
    名称 = '无限风域'
    所在等级 = 85
    等级上限 = 40
    基础等级 = 5
    #狂风物理攻击力：<data0>%
    data0 = [int(x*1.0*1.085) for x in [0, 14403, 17744, 21083, 24424, 27764, 31103, 34443, 37783, 41122, 44463, 47803, 51143, 54483, 57824, 61162, 64503, 67843, 71183, 74523, 77863, 81202, 84543, 87883, 91224, 94562, 97903, 101243, 104582, 107923, 111264, 114603, 117942, 121283, 124622, 127962, 131302, 134642, 137982, 141323, 144662]]
    #飞行攻击物理攻击力：<data1>%
    data1 = [int(x*1.0*1.085) for x in [0, 5402, 6652, 7905, 9160, 10410, 11662, 12915, 14169, 15420, 16674, 17925, 19177, 20432, 21684, 22935, 24189, 25442, 26694, 27947, 29198, 30449, 31704, 32956, 34208, 35461, 36712, 37966, 39219, 40471, 41724, 42976, 44229, 45482, 46734, 47985, 49240, 50491, 51743, 52996, 54248]]
    攻击次数2 = 8
    #最后刺击物理攻击力：<data2>%
    data2 = [int(x*1.0*1.085) for x in [0, 28806, 35486, 42168, 48846, 55526, 62206, 68886, 75568, 82248, 88926, 95605, 102286, 108966, 115647, 122326, 129006, 135686, 142366, 149046, 155726, 162406, 169086, 175766, 182446, 189125, 195806, 202486, 209167, 215846, 222525, 229206, 235886, 242566, 249247, 255925, 262605, 269286, 275966, 282645, 289326]]
    攻击次数3 = 1
    #最后爆炸物理攻击力：<data3>%
    data3 = [int(x*1.0*1.085) for x in [0, 57614, 70975, 84333, 97694, 111055, 124414, 137774, 151134, 164494, 177853, 191214, 204574, 217933, 231294, 244653, 258014, 271374, 284733, 298094, 311452, 324812, 338174, 351534, 364892, 378252, 391614, 404971, 418332, 431694, 445051, 458412, 471772, 485131, 498492, 511852, 525212, 538571, 551932, 565292, 578651]]
    攻击次数4 = 1
    # 1+8+1+1
    CD = 180


class 技能21(职业主动技能):
    名称 = '怒风狂涌'
    所在等级 = 95
    等级上限 = 11
    基础等级 = 6
    data0 = [int(i*1.085) for i in [0, 3788, 4172, 4557, 4941, 5324, 5708, 6094, 6478, 6862, 7246, 7631, 8015, 8399, 8783, 9168, 9553, 9937, 10321, 10706, 11090, 11473, 11857, 12242, 12626, 13011, 13395, 13780, 14164, 14548, 14933, 15317, 15701, 16085, 16471, 16855, 17239, 17622, 18007, 18391, 18775]]
    攻击次数 = 6
    data1 = [int(i*1.085) for i in [0, 8523, 9388, 10253, 11117, 11981, 12847, 13711, 14575, 15440, 16305, 17170, 18035, 18899, 19765, 20629, 21493, 22357, 23223, 24087, 24952, 25816, 26681, 27546, 28411, 29275, 30141, 31005, 31869, 32734, 33599, 34464, 35328, 36192, 37058, 37922, 38786, 39653, 40517, 41381, 42246]]
    攻击次数2 = 4
    data2 = [int(i*1.085) for i in [0, 56822, 62586, 68351, 74115, 79880, 85645, 91411, 97175, 102939, 108704, 114468, 120233, 125998, 131762, 137527, 143291, 149055, 154820, 160585, 166350, 172114, 177879, 183645, 189407, 195172, 200938, 206702, 212467, 218232, 223997, 229760, 235525, 241290, 247054, 252819, 258584, 264348, 270112, 275877, 281641]]
    攻击次数3 = 1

    CD = 60


class 技能22(职业主动技能):
    名称 = '风之极·永坠'
    所在等级 = 100
    等级上限 = 40
    基础等级 = 2
    data0 = [int(i*1.085) for i in [0, 42799, 52724, 62649, 72574, 82498, 92423, 102348, 112273, 122197, 132122, 142047, 151971, 161896, 171821, 181746, 191670, 201595, 211520, 221445, 231369, 241294, 251219, 261144, 271068, 280993, 290918, 300843, 310767, 320692, 330617, 340542, 350466, 360391, 370316, 380241, 390165, 400090, 410015, 419940, 429864]]
    data1 = [int(i*1.085) for i in [0, 64200, 79087, 93974, 108862, 123748, 138636, 153522, 168410, 183297, 198184, 213071, 227958, 242845, 257733, 272619, 287506, 302393, 317280, 332168, 347054, 361942, 376828, 391716, 406603, 421490, 436377, 451265, 466151, 481039, 495925, 510813, 525700, 540587, 555474, 570362, 585248, 600136, 615022, 629909, 644797]]
    data2 = [int(i*1.085) for i in [0, 12840, 15817, 18795, 21772, 24749, 27726, 30704, 33681, 36659, 39636, 42614, 45591, 48569, 51547, 54523, 57500, 60478, 63455, 66433, 69411, 72388, 75366, 78343, 81320, 84297, 87275, 90252, 93230, 96207, 99185, 102162, 105140, 108117, 111094, 114071, 117049, 120026, 123004, 125982, 128959]]
    攻击次数 = 1
    攻击次数2 = 1
    攻击次数3 = 25


    CD = 290

    def 加成倍率(self, 武器类型):
        return 0.0


技能列表 = []
i = 0
while i >= 0:
    try:
        tem = eval('技能'+str(i)+'()')
        tem.基础等级计算()
        技能列表.append(tem)
        i += 1
    except:
        i = -1

技能序号 = dict()
for i in range(len(技能列表)):
    技能序号[技能列表[i].名称] = i

知源·逐风者一觉序号 = 0
知源·逐风者二觉序号 = 0
知源·逐风者三觉序号 = 0
for i in 技能列表:
    if i.所在等级 == 50:
        知源·逐风者一觉序号 = 技能序号[i.名称]
    if i.所在等级 == 85:
        知源·逐风者二觉序号 = 技能序号[i.名称]
    if i.所在等级 == 100:
        知源·逐风者三觉序号 = 技能序号[i.名称]

知源·逐风者护石选项 = ['无']
for i in 技能列表:
    if i.是否有伤害 == 1 and i.是否有护石 == 1:
        知源·逐风者护石选项.append(i.名称)

知源·逐风者符文选项 = ['无']
for i in 技能列表:
    if i.所在等级 >= 20 and i.所在等级 <= 80 and i.所在等级 != 50 and i.是否有伤害 == 1:
        知源·逐风者符文选项.append(i.名称)


class 知源·逐风者角色属性(角色属性):

    实际名称 = '知源·逐风者'
    角色 = '魔法师(男)'
    职业 = '逐风者'

    武器选项 = ['棍棒']

    类型选择 = ['物理百分比']

    类型 = '物理百分比'
    防具类型 = '皮甲'
    防具精通属性 = ['力量']

    主BUFF = 2.11

    def __init__(self):
        基础属性输入(self)
        self.技能栏 = deepcopy(技能列表)
        self.技能序号 = deepcopy(技能序号)


class 知源·逐风者(角色窗口):
    def 窗口属性输入(self):
        self.初始属性 = 知源·逐风者角色属性()
        self.角色属性A = 知源·逐风者角色属性()
        self.角色属性B = 知源·逐风者角色属性()
        self.一觉序号 = 知源·逐风者一觉序号
        self.二觉序号 = 知源·逐风者二觉序号
        self.三觉序号 = 知源·逐风者三觉序号
        self.护石选项 = deepcopy(知源·逐风者护石选项)
        self.符文选项 = deepcopy(知源·逐风者符文选项)
